export const tableDataList = [
  {
    type: "input", // input Select Checkbox date
    porps: "batchInfo",
    porp: "batchName",
    porpName: "batchName",
    selectValue: "batchName",
    typeObj: {},
    name: "批次名称",
    required: true,
    show: true
  },
  {
    type: "Select", // input Select Checkbox date
    porps: "product",
    porp: "productName",
    porpName: "productName",
    selectValue: "productNo",
    typeObj: {},
    name: "产品名称",
    required: true,
    show: true
  },

  {
    type: "Select", // input Select Checkbox date
    porps: "breedVariety",
    porp: "breedVarietyName",
    porpName: "breedVarietyName",
    selectValue: "breedVarietyNo",
    typeObj: {
    },
    name: "品种",
    notSearch: true,
    required: true,
    show: true
  },
  {
    type: "input", // input Select Checkbox date
    porps: "manufacturer",
    porp: "manufacturerName",
    porpName: "manufacturerName",
    typeObj: {
    },
    name: "生产单位",
    notSearch: true,
    required: true,
    show: true
  },
  {
    type: "input", // input Select Checkbox date
    porps: "proprietor",
    porp: "proprietorName",
    porpName: "proprietorName",
    typeObj: {
    },
    name: "主体名称",
    notSearch: true,
    required: true,
    show: true
  },
  {
    type: "date", // input Select Checkbox date
    porp: "generationDate",
    porpName: "generationDate",
    linkage: true,
    typeObj: {
    },
    name: "生成日期",
    required: true,
    show: true
  },
  {
    porp: 'operation', name: '操作', slotName: 'operation', fixed: true,
    minWidth: "160",
    typeObj: {},
    show: true,
    notSearch: true
  }
]
export const formDataList = [
  {
    type: "input", // input Select Checkbox date
    porp: "batchName",
    typeObj: {},
    name: "批次名称",
    required: true,
    width: 'w50p',
    show: true
  },

  {
    type: "Select", // input Select Checkbox date
    porp: "productNo",
    typeObj: {},
    name: "产品名称",
    required: true,
    show: true,
    width: 'w50p'
  },
  {
    type: "img", // input Select Checkbox date
    porp: "urlList",
    typeObj: {
    },
    porpLink: "product",
    name: "产品图片",
    required: false,
    show: true,
    // disabled: true,
    width: 'w100p'
  },
  {
    type: "Select", // input Select Checkbox date
    porp: "breedVarietyNo",
    typeObj: {},
    name: "养殖品种",
    required: true,
    show: true,
    width: 'w50p'
  },
  {
    type: "date", // input Select Checkbox date
    porp: "birthday",
    typeObj: {},
    name: "养殖日期",
    show: true,
    minWidth: "150",
    required: true,
    width: 'w50p'
  },
  {
    type: "Select", // input Select Checkbox date
    porp: "manufacturerNo",
    width: 'w50p',
    linkage: true, typeObj: {
    },
    name: "生产单位名称：",
    required: true,
    show: true
  },
  {
    type: "input", // input Select Checkbox date
    porp: "address",
    name: "厂家地址",
    linkChild: true,
    required: false,
    show: true,
    disable: true,
    width: 'w50p'
  },
  {
    type: "input", // input Select Checkbox date
    porp: "director",
    name: "负责人",
    linkChild: true,
    required: false,
    show: true,
    disable: true,
    width: 'w50p'
  },
]

export const formDataOBj = {
  Manufacturer: [
    {
      type: "Select", // input Select Checkbox date
      porp: "manufacturerInfo",
      porpLink: "proprietorNo",
      name: "主体名称",
      required: true,
      show: true,
      typeObj: {
      },
      width: 'w50p',
      linkage: true,
    },
    {
      type: "input", // input Select Checkbox date
      porp: "manufacturerInfo",
      porpLink: "address",
      name: "主体地址",
      show: true,
      linkChild: true,
      required: false,
      disable: true,
      width: 'w50p'
    },
    {
      type: "input", // input Select Checkbox date
      porp: "manufacturerInfo",
      porpLink: "director",
      name: "负责人",
      show: true,
      linkChild: true,
      required: false,
      disable: true,
      width: 'w50p'
    },
    {
      type: "input", // input Select Checkbox date
      porp: "manufacturerInfo",
      porpLink: "contact",
      linkage: true,
      name: "联系电话",
      show: true,
      linkChild: true,
      required: false,
      disable: true,
      width: 'w50p'
    },
    {
      type: "input",
      porp: "manufacturerInfo",
      porpLink: "scale",
      linkage: true,
      name: "主体规模",
      show: true,
      linkChild: true,
      required: false,
      disable: true,
      width: 'w50p'
    },
    {
      type: "textarea", // input Select Checkbox date
      porp: "manufacturerInfo",
      porpLink: "introduction",
      name: "主体介绍",
      show: true,
      linkChild: true,
      required: false,
      disable: true,
      width: 'w50p'
    },
    {
      type: "img", // input Select Checkbox date
      porp: "manufacturerInfo",
      porpLink: "proprietor",
      linkage: "true",
      typeObj: {
      },
      linkChild: true,
      name: "资质图片",
      show: true,
      required: false,
      disable: true,
      width: 'w50p'
    }
  ],
  inspection: [
    {
      type: "input", // input Select Checkbox date
      porp: "testReportName",
      typeObj: {},
      name: "报告名称",
      required: true,
      show: true,
      width: 'w50p'
    },
    {
      type: "date", // input Select Checkbox date
      porp: "testTime",
      typeObj: {},
      name: "检验日期",
      required: true,
      show: true,
      width: 'w50p'
    },
    {
      type: "input", // input Select Checkbox date
      porp: "inspectionAuthorities",
      typeObj: {},
      name: "检验单位",
      required: true,
      show: true,
      width: 'w50p'
    },
    {
      type: "img", // input Select Checkbox date
      porp: "urlList",
      typeObj: {
      },
      porpLink: "report",
      name: "报告图片",
      required: false,
      show: true,
      notSearch: true,
      width: 'w50p'
    }
  ],
  Environmental: [
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: '℃',
      width: 'w50p',
      typeObj: {
      },
      name: "室温",
      required: true,
      show: true,
      number: true
    },
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: 'lux',
      width: 'w50p',
      typeObj: {
      },
      name: "光照度",
      required: true,
      show: true,
      number: true
    },
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: '%',
      width: 'w50p',
      typeObj: {
      },
      name: "湿度",
      required: true,
      show: true,
      number: true
    },
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: 'ppm',
      width: 'w50p',
      typeObj: {
      },
      name: "氨气",
      required: true,
      show: true,
      number: true
    },
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: 'ppm',
      width: 'w50p',
      typeObj: {
      },
      name: "硫化氢",
      required: true,
      show: true,
      number: true
    },
    {
      type: "Select", // input Select Checkbox date
      porp: "gender",
      typeObj: {
        list: [
          {
            name: '环境数据优秀',
            value: '0'
          },
          {
            name: '环境数据良好',
            value: '1'
          },
          {
            name: '环境数据一般',
            value: '2'
          }
        ]
      },
      name: "数适宜度:",
      required: true,
      show: true,
      width: 'w100p'
    },
  ],
  EnvironmentalPlant: [
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: '℃',
      width: 'w50p',
      typeObj: {
      },
      name: "空气温度",
      required: true,
      show: true,
      number: true
    },
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: '%',
      width: 'w50p',
      typeObj: {
      },
      name: "空气湿度",
      required: true,
      show: true,
      number: true
    },
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: '℃',
      width: 'w50p',
      typeObj: {
      },
      name: "土壤温度",
      required: true,
      show: true,
      number: true
    },
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: '%',
      width: 'w50p',
      typeObj: {
      },
      name: "土壤湿度",
      required: true,
      show: true,
      number: true
    },
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: 'lux',
      width: 'w50p',
      typeObj: {
      },
      name: "光照度",
      required: true,
      show: true,
      number: true
    },
  ],
  EnvironmentalFish: [
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: '℃',
      width: 'w50p',
      typeObj: {
      },
      name: "水温",
      required: true,
      show: true,
      number: true
    },
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: '',
      width: 'w50p',
      typeObj: {
      },
      name: "pH",
      required: true,
      show: true,
      number: true
    },
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: '',
      width: 'w50p',
      typeObj: {
      },
      name: "溶解氧",
      required: true,
      show: true,
      number: true
    },
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: 'lux',
      width: 'w50p',
      typeObj: {
      },
      name: "光照度",
      required: true,
      show: true,
      number: true
    },
    {
      type: "input", // input Select Checkbox date
      porp: "environmentalDataList",
      porpLink: "value",
      sortName: "append",
      unitName: 'ppm',
      width: 'w50p',
      typeObj: {
      },
      name: "氨氮",
      required: true,
      show: true,
      number: true
    },
  ]
}
